package com.baosight.xinreport.sql.mapper;

import java.util.List;
import java.util.Map;

public interface DynamicTableSqlMapper {

    /**
     *
     * @param sql
     * @return
     */
    public List<Map> queryDynamicTableData(String sql);

    /**
     *
     * @param sql
     * @return
     */
    public int countDynamicTableData(String sql);

    /**
     *
     * @param sql
     */
    public void insertDynamicTable(String sql);

    /**
     *
     * @param sql
     */
    public void updateDynamicTable(String sql);

    /**
     *
     * @param sql
     */
    public void deleteDynamicTable(String sql);
}
